package com.crk.shixiguanli.service;

import com.crk.shixiguanli.entity.Professional;
import com.crk.shixiguanli.util.Page;
import com.crk.shixiguanli.util.ResponseResult;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-03
 * Time: 17:10
 */
public interface ProfessionalService {
    /**
     * 查询所有专业-分页
     * @param college 院系
     * @param professionalName 专业
     * @param page 分页参数
     * @return
     */
    public ResponseResult queryProfessionalPage(String college, String professionalName, Page page);

    /**
     * 查询所有专业
     * @return
     */
    public ResponseResult queryProfessional();

    /**
     * 查询专业
     * @param id
     * @return
     */
    public ResponseResult getProfessional(Integer id);

    /**
     * 保存专业
     * @param professional
     * @return
     */
    public ResponseResult saveProfessional(Professional professional);

    /**
     * 删除专业
     * @param id
     * @return
     */
    public ResponseResult deleteProfessional(Integer id);

    public ResponseResult queryAllProfessional();


    public ResponseResult queryProfessionalByCollege(String college);
}
